﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yto.Entities;

namespace com.ytocargo.Core.FlightCfps
{
    [Table("T5001")]
    public class FlightCfp : Entity
    {
        [Column("FLIGHT_ID")]
        public override int Id { get => base.Id; set => base.Id = value; }

        [Column("CFP_CONTENT")]
        public byte[] CfpContent { get; set; }

        [Column("SEND_FLAG")]
        public bool SendFlag { get; set; }

        [Column("CFP_TITLE")]
        [StringLength(20)]
        public string CfpTitle { get; set; }
    }
}
